package com.hliushi.learn.annotation;


import com.hliushi.learn.bean.enums.BusinessType;

import java.lang.annotation.*;

/**
 * 自定义操作日志记录注解
 *
 * @author llhuang10
 */
@Target({ElementType.PARAMETER, ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface Log {


    /**
     * 模块
     */
    public String module() default "";


    /**
     * 类别
     */
    public BusinessType businessType() default BusinessType.OTHER;


    /**
     * 描述
     */
    public String methodDesc() default "";


}
